const TOKEN_KEY = 'react-2-10';
// 储存 token
export const setToken = (token) => localStorage.setItem(TOKEN_KEY, token);
// 获取 token
export const getToken = () => localStorage.getItem(TOKEN_KEY);
// 移除 token
export const removeToken = () => localStorage.removeItem(TOKEN_KEY);
